#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>
#include <login/loginDB.h>

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_pushButton_clicked()
{
#if 1
    login = new Dialog_Login();
    connect(login,SIGNAL(signalLoginPass()),this,SLOT(slotLoginPass()));
    login->userShow();
#endif

}

void MainWindow::slotLoginPass()
{
    qDebug() << "login pass";
}
